package com.alan.shiro.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * user表：
 *    id
 *    name
 *    password
 * @Auther: Alan liu
 * @Date: 2018/12/11 18:06
 * @Description: User
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Long id;
    private String name;
    private String password;
    private List<Role> roles;
}
